package com.edu.koTA07.XmlDataSet;

import java.util.ArrayList;

/** Contains getter and setter method for varialbles  */
public class DiskonXmlDataSet {

	/** Variables */
	private ArrayList<String> id_diskon = new ArrayList<String>();
	private ArrayList<String> id_barang = new ArrayList<String>();
	private ArrayList<String> besar_diskon = new ArrayList<String>();
	private ArrayList<String> jumlah_barang = new ArrayList<String>();

	
	/** In Setter method default it will return arraylist 
	 *  change that to add  */
	
	public ArrayList<String> getIDDiskon() {
		return id_diskon;
	}

	public void setIDDiskon(String id_diskon) {
		this.id_diskon.add(id_diskon);
	}

	public ArrayList<String> getIDBarang() {
		return id_barang;
	}

	public void setIDBarang(String id_barang) {
		this.id_barang.add(id_barang);
	}
	
	public ArrayList<String> getBesarDiskon() {
		return besar_diskon;
	}

	public void setBesarDiskon(String besar_diskon) {
		this.besar_diskon.add(besar_diskon);
	}
	
	public ArrayList<String> getJumlahBarang() {
		return jumlah_barang;
	}

	public void setJumlahBarang(String jumlah_barang) {
		this.jumlah_barang.add(jumlah_barang);
	}

}
